import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { Lazyload, Toast, Dialog } from 'vant';

Vue.config.productionTip = false

Vue.use(Lazyload,{
  preLoad: 1.3,
  error: require('./assets/images/default.png'),
  loading: require('./assets/images/loading.gif'),
  attempt: 1
});

Vue.use(Toast);
Vue.use(Dialog);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
